package com.example.f1.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_order_info
 */
@TableName(value ="t_order_info")
@Data
public class OrderInfo implements Serializable {
    /**
     * 订单id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 商户订单编号
     */
    @TableField(value = "order_no")
    private String order_no;

    /**
     * 
     */
    @TableField(value = "payment_type")
    private String payment_type;

    /**
     * 用户id
     */
    @TableField(value = "login_id")
    private Long user_id;

    /**
     * 支付产品id
     */
    @TableField(value = "product_id")
    private Long product_id;

    /**
     * 订单金额(分)
     */
    @TableField(value = "total_fee")
    private Integer total_fee;

    /**
     * 订单二维码连接
     */
    @TableField(value = "code_url")
    private String code_url;

    /**
     * 订单状态
     */
    @TableField(value = "order_status")
    private String order_status;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date create_time;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date update_time;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}